package IC.AST;

public class DotLocation extends Location
{
	private Expression _leftExpression;
	private String _rightID;
	
	public Object Visit(Visitor visitor) { return visitor.Visit(this); }
	
	public DotLocation(Interval interval, Expression leftExpression, String rightID)
	{
		super(interval);
		GiveBirth(leftExpression);
		_leftExpression = leftExpression;
		_rightID = rightID;
	}
	
	public Expression GetLeftExpression() { return _leftExpression; }
	public String GetRightID() { return new String(_rightID); }

}
